#!/bin/bash
export DUT_ROOT="/home/eeeknow/work/ahb2apb/rtl"
export DV_ROOT="/home/eeeknow/work/ahb2apb/dv"

COV_OPT="	-coverage all
			-covfile $DV_ROOT/../sim/covfile.ccf
			-covdut cmsdk_ahb_to_apb
			-covoverwrite
			"
uvmtestname=$1

irun 	-f $DV_ROOT/etc/tb.f \
		-f $DUT_R0OT/rtl.f \
			+sv \
			-uvm \
			$COV_OPT \
			-access +rw \
			+UVM_TESTNAME=$uvmtestname
exit